package org.ejc.persist.model;

import java.io.Serializable;
import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class LanguageIso implements Serializable {

    /** identifier field */
    private Integer languageId;

    /** nullable persistent field */
    private String languageIso;

    /** persistent field */
    private Set conventionExecutives;

    /** persistent field */
    private Set conventionRegistrants;

    /** full constructor */
    public LanguageIso(Integer languageId, String languageIso, Set conventionExecutives, Set conventionRegistrants) {
        this.languageId = languageId;
        this.languageIso = languageIso;
        this.conventionExecutives = conventionExecutives;
        this.conventionRegistrants = conventionRegistrants;
    }

    /** default constructor */
    public LanguageIso() {
    }

    /** minimal constructor */
    public LanguageIso(Integer languageId, Set conventionExecutives, Set conventionRegistrants) {
        this.languageId = languageId;
        this.conventionExecutives = conventionExecutives;
        this.conventionRegistrants = conventionRegistrants;
    }

    public Integer getLanguageId() {
        return this.languageId;
    }

    public void setLanguageId(Integer languageId) {
        this.languageId = languageId;
    }

    public String getLanguageIso() {
        return this.languageIso;
    }

    public void setLanguageIso(String languageIso) {
        this.languageIso = languageIso;
    }

    public Set getConventionExecutives() {
        return this.conventionExecutives;
    }

    public void setConventionExecutives(Set conventionExecutives) {
        this.conventionExecutives = conventionExecutives;
    }

    public Set getConventionRegistrants() {
        return this.conventionRegistrants;
    }

    public void setConventionRegistrants(Set conventionRegistrants) {
        this.conventionRegistrants = conventionRegistrants;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("languageId", getLanguageId())
            .toString();
    }

}
